package com.wolf.etl.core.filter;

import com.wolf.vo.BaseResult;
import org.springframework.stereotype.Component;

/**
 * @author sdyang
 * @date 2019/10/14 8:34
 **/
@Component("iS_NOT_NULL")
public class IS_NOT_NULL extends AbstractFilter{
    @Override
    public BaseResult filter(String columnName, String... value) {
        String filterStr = String.format(" and %s is not null ", columnName);
        BaseResult result = BaseResult.getSuccess(filterStr);
        return result;
    }
}
